<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.18"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>aws-crt-cpp: Aws::Crt::Auth::CredentialsProvider Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">aws-crt-cpp
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.18 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceAws.html">Aws</a></li><li class="navelem"><a class="el" href="namespaceAws_1_1Crt.html">Crt</a></li><li class="navelem"><a class="el" href="namespaceAws_1_1Crt_1_1Auth.html">Auth</a></li><li class="navelem"><a class="el" href="classAws_1_1Crt_1_1Auth_1_1CredentialsProvider.html">CredentialsProvider</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="classAws_1_1Crt_1_1Auth_1_1CredentialsProvider-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Aws::Crt::Auth::CredentialsProvider Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="Credentials_8h_source.html">Credentials.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for Aws::Crt::Auth::CredentialsProvider:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classAws_1_1Crt_1_1Auth_1_1CredentialsProvider.png" usemap="#Aws::Crt::Auth::CredentialsProvider_map" alt=""/>
  <map id="Aws::Crt::Auth::CredentialsProvider_map" name="Aws::Crt::Auth::CredentialsProvider_map">
<area href="classAws_1_1Crt_1_1Auth_1_1ICredentialsProvider.html" alt="Aws::Crt::Auth::ICredentialsProvider" shape="rect" coords="0,56,316,80"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:adf9beb5fc174240f895dc0395b62c227"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Auth_1_1CredentialsProvider.html#adf9beb5fc174240f895dc0395b62c227">CredentialsProvider</a> (aws_credentials_provider *provider, <a class="el" href="namespaceAws_1_1Crt.html#a3c9efb213e2de565038afcfd4f8afcda">Allocator</a> *allocator=<a class="el" href="namespaceAws_1_1Crt.html#a7178ef65f261a8db52a624458331bbb2">g_allocator</a>) noexcept</td></tr>
<tr class="separator:adf9beb5fc174240f895dc0395b62c227"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a00bbd2460180c5bbe0cd0010f26e9d1d"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Auth_1_1CredentialsProvider.html#a00bbd2460180c5bbe0cd0010f26e9d1d">~CredentialsProvider</a> ()</td></tr>
<tr class="separator:a00bbd2460180c5bbe0cd0010f26e9d1d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e53b541fc3d75651ca0caba4a42a974"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Auth_1_1CredentialsProvider.html#a7e53b541fc3d75651ca0caba4a42a974">CredentialsProvider</a> (const <a class="el" href="classAws_1_1Crt_1_1Auth_1_1CredentialsProvider.html">CredentialsProvider</a> &amp;)=delete</td></tr>
<tr class="separator:a7e53b541fc3d75651ca0caba4a42a974"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad65e03922175b4e3aab881bc7af4fb21"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Auth_1_1CredentialsProvider.html#ad65e03922175b4e3aab881bc7af4fb21">CredentialsProvider</a> (<a class="el" href="classAws_1_1Crt_1_1Auth_1_1CredentialsProvider.html">CredentialsProvider</a> &amp;&amp;)=delete</td></tr>
<tr class="separator:ad65e03922175b4e3aab881bc7af4fb21"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f5e085b7d3590b01e8a971b6ba18e6c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classAws_1_1Crt_1_1Auth_1_1CredentialsProvider.html">CredentialsProvider</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Auth_1_1CredentialsProvider.html#a9f5e085b7d3590b01e8a971b6ba18e6c">operator=</a> (const <a class="el" href="classAws_1_1Crt_1_1Auth_1_1CredentialsProvider.html">CredentialsProvider</a> &amp;)=delete</td></tr>
<tr class="separator:a9f5e085b7d3590b01e8a971b6ba18e6c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4162e85dbdeadebaf4430a5c3196ce14"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classAws_1_1Crt_1_1Auth_1_1CredentialsProvider.html">CredentialsProvider</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Auth_1_1CredentialsProvider.html#a4162e85dbdeadebaf4430a5c3196ce14">operator=</a> (<a class="el" href="classAws_1_1Crt_1_1Auth_1_1CredentialsProvider.html">CredentialsProvider</a> &amp;&amp;)=delete</td></tr>
<tr class="separator:a4162e85dbdeadebaf4430a5c3196ce14"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a58acb95b7184d9cb4fb9f211f80cb441"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Auth_1_1CredentialsProvider.html#a58acb95b7184d9cb4fb9f211f80cb441">GetCredentials</a> (const <a class="el" href="namespaceAws_1_1Crt_1_1Auth.html#a264e6cff99e2c2872d62a4a85c825ca8">OnCredentialsResolved</a> &amp;onCredentialsResolved) const override</td></tr>
<tr class="separator:a58acb95b7184d9cb4fb9f211f80cb441"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a861f140ae670ae824546ea09af3a0ff8"><td class="memItemLeft" align="right" valign="top">virtual aws_credentials_provider *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Auth_1_1CredentialsProvider.html#a861f140ae670ae824546ea09af3a0ff8">GetUnderlyingHandle</a> () const noexcept override</td></tr>
<tr class="separator:a861f140ae670ae824546ea09af3a0ff8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8294aff49261f8a75f428eee8c693812"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Auth_1_1CredentialsProvider.html#a8294aff49261f8a75f428eee8c693812">IsValid</a> () const noexcept override</td></tr>
<tr class="separator:a8294aff49261f8a75f428eee8c693812"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classAws_1_1Crt_1_1Auth_1_1ICredentialsProvider"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classAws_1_1Crt_1_1Auth_1_1ICredentialsProvider')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classAws_1_1Crt_1_1Auth_1_1ICredentialsProvider.html">Aws::Crt::Auth::ICredentialsProvider</a></td></tr>
<tr class="memitem:aefe60b9490b1de1628177fae79012237 inherit pub_methods_classAws_1_1Crt_1_1Auth_1_1ICredentialsProvider"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Auth_1_1ICredentialsProvider.html#aefe60b9490b1de1628177fae79012237">~ICredentialsProvider</a> ()=default</td></tr>
<tr class="separator:aefe60b9490b1de1628177fae79012237 inherit pub_methods_classAws_1_1Crt_1_1Auth_1_1ICredentialsProvider"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:abe47f5c0185962c4dda681f946ed1848"><td class="memItemLeft" align="right" valign="top">static std::shared_ptr&lt; <a class="el" href="classAws_1_1Crt_1_1Auth_1_1ICredentialsProvider.html">ICredentialsProvider</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Auth_1_1CredentialsProvider.html#abe47f5c0185962c4dda681f946ed1848">CreateCredentialsProviderStatic</a> (const <a class="el" href="structAws_1_1Crt_1_1Auth_1_1CredentialsProviderStaticConfig.html">CredentialsProviderStaticConfig</a> &amp;config, <a class="el" href="namespaceAws_1_1Crt.html#a3c9efb213e2de565038afcfd4f8afcda">Allocator</a> *allocator=<a class="el" href="namespaceAws_1_1Crt.html#a7178ef65f261a8db52a624458331bbb2">g_allocator</a>)</td></tr>
<tr class="separator:abe47f5c0185962c4dda681f946ed1848"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a827911ec47aacc067c9ff95c76973183"><td class="memItemLeft" align="right" valign="top">static std::shared_ptr&lt; <a class="el" href="classAws_1_1Crt_1_1Auth_1_1ICredentialsProvider.html">ICredentialsProvider</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Auth_1_1CredentialsProvider.html#a827911ec47aacc067c9ff95c76973183">CreateCredentialsProviderEnvironment</a> (<a class="el" href="namespaceAws_1_1Crt.html#a3c9efb213e2de565038afcfd4f8afcda">Allocator</a> *allocator=<a class="el" href="namespaceAws_1_1Crt.html#a7178ef65f261a8db52a624458331bbb2">g_allocator</a>)</td></tr>
<tr class="separator:a827911ec47aacc067c9ff95c76973183"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb9cfcc2f539fb910a7c72d38e91fa36"><td class="memItemLeft" align="right" valign="top">static std::shared_ptr&lt; <a class="el" href="classAws_1_1Crt_1_1Auth_1_1ICredentialsProvider.html">ICredentialsProvider</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Auth_1_1CredentialsProvider.html#aeb9cfcc2f539fb910a7c72d38e91fa36">CreateCredentialsProviderProfile</a> (const <a class="el" href="structAws_1_1Crt_1_1Auth_1_1CredentialsProviderProfileConfig.html">CredentialsProviderProfileConfig</a> &amp;config, <a class="el" href="namespaceAws_1_1Crt.html#a3c9efb213e2de565038afcfd4f8afcda">Allocator</a> *allocator=<a class="el" href="namespaceAws_1_1Crt.html#a7178ef65f261a8db52a624458331bbb2">g_allocator</a>)</td></tr>
<tr class="separator:aeb9cfcc2f539fb910a7c72d38e91fa36"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a40c0eb06deaeb7597298cb545b8c26ec"><td class="memItemLeft" align="right" valign="top">static std::shared_ptr&lt; <a class="el" href="classAws_1_1Crt_1_1Auth_1_1ICredentialsProvider.html">ICredentialsProvider</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Auth_1_1CredentialsProvider.html#a40c0eb06deaeb7597298cb545b8c26ec">CreateCredentialsProviderImds</a> (const <a class="el" href="structAws_1_1Crt_1_1Auth_1_1CredentialsProviderImdsConfig.html">CredentialsProviderImdsConfig</a> &amp;config, <a class="el" href="namespaceAws_1_1Crt.html#a3c9efb213e2de565038afcfd4f8afcda">Allocator</a> *allocator=<a class="el" href="namespaceAws_1_1Crt.html#a7178ef65f261a8db52a624458331bbb2">g_allocator</a>)</td></tr>
<tr class="separator:a40c0eb06deaeb7597298cb545b8c26ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa16293f2e1af8e29795ca1bc45943075"><td class="memItemLeft" align="right" valign="top">static std::shared_ptr&lt; <a class="el" href="classAws_1_1Crt_1_1Auth_1_1ICredentialsProvider.html">ICredentialsProvider</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Auth_1_1CredentialsProvider.html#aa16293f2e1af8e29795ca1bc45943075">CreateCredentialsProviderChain</a> (const <a class="el" href="structAws_1_1Crt_1_1Auth_1_1CredentialsProviderChainConfig.html">CredentialsProviderChainConfig</a> &amp;config, <a class="el" href="namespaceAws_1_1Crt.html#a3c9efb213e2de565038afcfd4f8afcda">Allocator</a> *allocator=<a class="el" href="namespaceAws_1_1Crt.html#a7178ef65f261a8db52a624458331bbb2">g_allocator</a>)</td></tr>
<tr class="separator:aa16293f2e1af8e29795ca1bc45943075"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae26568f17791c9fde87efc3f83d94d1c"><td class="memItemLeft" align="right" valign="top">static std::shared_ptr&lt; <a class="el" href="classAws_1_1Crt_1_1Auth_1_1ICredentialsProvider.html">ICredentialsProvider</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Auth_1_1CredentialsProvider.html#ae26568f17791c9fde87efc3f83d94d1c">CreateCredentialsProviderCached</a> (const <a class="el" href="structAws_1_1Crt_1_1Auth_1_1CredentialsProviderCachedConfig.html">CredentialsProviderCachedConfig</a> &amp;config, <a class="el" href="namespaceAws_1_1Crt.html#a3c9efb213e2de565038afcfd4f8afcda">Allocator</a> *allocator=<a class="el" href="namespaceAws_1_1Crt.html#a7178ef65f261a8db52a624458331bbb2">g_allocator</a>)</td></tr>
<tr class="separator:ae26568f17791c9fde87efc3f83d94d1c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad5f78756761e250423818676d6b1998c"><td class="memItemLeft" align="right" valign="top">static std::shared_ptr&lt; <a class="el" href="classAws_1_1Crt_1_1Auth_1_1ICredentialsProvider.html">ICredentialsProvider</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Auth_1_1CredentialsProvider.html#ad5f78756761e250423818676d6b1998c">CreateCredentialsProviderChainDefault</a> (const <a class="el" href="structAws_1_1Crt_1_1Auth_1_1CredentialsProviderChainDefaultConfig.html">CredentialsProviderChainDefaultConfig</a> &amp;config, <a class="el" href="namespaceAws_1_1Crt.html#a3c9efb213e2de565038afcfd4f8afcda">Allocator</a> *allocator=<a class="el" href="namespaceAws_1_1Crt.html#a7178ef65f261a8db52a624458331bbb2">g_allocator</a>)</td></tr>
<tr class="separator:ad5f78756761e250423818676d6b1998c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Simple credentials provider implementation that wraps one of the internal C-based implementations.</p>
<p>Contains a set of static factory methods for building each supported provider, as well as one for the default provider chain. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="adf9beb5fc174240f895dc0395b62c227"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adf9beb5fc174240f895dc0395b62c227">&#9670;&nbsp;</a></span>CredentialsProvider() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Aws::Crt::Auth::CredentialsProvider::CredentialsProvider </td>
          <td>(</td>
          <td class="paramtype">aws_credentials_provider *&#160;</td>
          <td class="paramname"><em>provider</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceAws_1_1Crt.html#a3c9efb213e2de565038afcfd4f8afcda">Allocator</a> *&#160;</td>
          <td class="paramname"><em>allocator</em> = <code><a class="el" href="namespaceAws_1_1Crt.html#a7178ef65f261a8db52a624458331bbb2">g_allocator</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a00bbd2460180c5bbe0cd0010f26e9d1d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a00bbd2460180c5bbe0cd0010f26e9d1d">&#9670;&nbsp;</a></span>~CredentialsProvider()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Aws::Crt::Auth::CredentialsProvider::~CredentialsProvider </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a7e53b541fc3d75651ca0caba4a42a974"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7e53b541fc3d75651ca0caba4a42a974">&#9670;&nbsp;</a></span>CredentialsProvider() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Aws::Crt::Auth::CredentialsProvider::CredentialsProvider </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classAws_1_1Crt_1_1Auth_1_1CredentialsProvider.html">CredentialsProvider</a> &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ad65e03922175b4e3aab881bc7af4fb21"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad65e03922175b4e3aab881bc7af4fb21">&#9670;&nbsp;</a></span>CredentialsProvider() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Aws::Crt::Auth::CredentialsProvider::CredentialsProvider </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classAws_1_1Crt_1_1Auth_1_1CredentialsProvider.html">CredentialsProvider</a> &amp;&amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ae26568f17791c9fde87efc3f83d94d1c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae26568f17791c9fde87efc3f83d94d1c">&#9670;&nbsp;</a></span>CreateCredentialsProviderCached()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::shared_ptr&lt; <a class="el" href="classAws_1_1Crt_1_1Auth_1_1ICredentialsProvider.html">ICredentialsProvider</a> &gt; Aws::Crt::Auth::CredentialsProvider::CreateCredentialsProviderCached </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structAws_1_1Crt_1_1Auth_1_1CredentialsProviderCachedConfig.html">CredentialsProviderCachedConfig</a> &amp;&#160;</td>
          <td class="paramname"><em>config</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceAws_1_1Crt.html#a3c9efb213e2de565038afcfd4f8afcda">Allocator</a> *&#160;</td>
          <td class="paramname"><em>allocator</em> = <code><a class="el" href="namespaceAws_1_1Crt.html#a7178ef65f261a8db52a624458331bbb2">g_allocator</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="aa16293f2e1af8e29795ca1bc45943075"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa16293f2e1af8e29795ca1bc45943075">&#9670;&nbsp;</a></span>CreateCredentialsProviderChain()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::shared_ptr&lt; <a class="el" href="classAws_1_1Crt_1_1Auth_1_1ICredentialsProvider.html">ICredentialsProvider</a> &gt; Aws::Crt::Auth::CredentialsProvider::CreateCredentialsProviderChain </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structAws_1_1Crt_1_1Auth_1_1CredentialsProviderChainConfig.html">CredentialsProviderChainConfig</a> &amp;&#160;</td>
          <td class="paramname"><em>config</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceAws_1_1Crt.html#a3c9efb213e2de565038afcfd4f8afcda">Allocator</a> *&#160;</td>
          <td class="paramname"><em>allocator</em> = <code><a class="el" href="namespaceAws_1_1Crt.html#a7178ef65f261a8db52a624458331bbb2">g_allocator</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Creates a provider that sources credentials by querying a series of providers and returning the first valid credential set encountered </p>

</div>
</div>
<a id="ad5f78756761e250423818676d6b1998c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad5f78756761e250423818676d6b1998c">&#9670;&nbsp;</a></span>CreateCredentialsProviderChainDefault()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::shared_ptr&lt; <a class="el" href="classAws_1_1Crt_1_1Auth_1_1ICredentialsProvider.html">ICredentialsProvider</a> &gt; Aws::Crt::Auth::CredentialsProvider::CreateCredentialsProviderChainDefault </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structAws_1_1Crt_1_1Auth_1_1CredentialsProviderChainDefaultConfig.html">CredentialsProviderChainDefaultConfig</a> &amp;&#160;</td>
          <td class="paramname"><em>config</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceAws_1_1Crt.html#a3c9efb213e2de565038afcfd4f8afcda">Allocator</a> *&#160;</td>
          <td class="paramname"><em>allocator</em> = <code><a class="el" href="namespaceAws_1_1Crt.html#a7178ef65f261a8db52a624458331bbb2">g_allocator</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Creates the SDK-standard default credentials provider which is a cache-fronted chain of:</p>
<p>Environment -&gt; Profile -&gt; IMDS </p>

</div>
</div>
<a id="a827911ec47aacc067c9ff95c76973183"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a827911ec47aacc067c9ff95c76973183">&#9670;&nbsp;</a></span>CreateCredentialsProviderEnvironment()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::shared_ptr&lt; <a class="el" href="classAws_1_1Crt_1_1Auth_1_1ICredentialsProvider.html">ICredentialsProvider</a> &gt; Aws::Crt::Auth::CredentialsProvider::CreateCredentialsProviderEnvironment </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceAws_1_1Crt.html#a3c9efb213e2de565038afcfd4f8afcda">Allocator</a> *&#160;</td>
          <td class="paramname"><em>allocator</em> = <code><a class="el" href="namespaceAws_1_1Crt.html#a7178ef65f261a8db52a624458331bbb2">g_allocator</a></code></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Creates a provider that returns credentials sourced from environment variables </p>

</div>
</div>
<a id="a40c0eb06deaeb7597298cb545b8c26ec"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a40c0eb06deaeb7597298cb545b8c26ec">&#9670;&nbsp;</a></span>CreateCredentialsProviderImds()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::shared_ptr&lt; <a class="el" href="classAws_1_1Crt_1_1Auth_1_1ICredentialsProvider.html">ICredentialsProvider</a> &gt; Aws::Crt::Auth::CredentialsProvider::CreateCredentialsProviderImds </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structAws_1_1Crt_1_1Auth_1_1CredentialsProviderImdsConfig.html">CredentialsProviderImdsConfig</a> &amp;&#160;</td>
          <td class="paramname"><em>config</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceAws_1_1Crt.html#a3c9efb213e2de565038afcfd4f8afcda">Allocator</a> *&#160;</td>
          <td class="paramname"><em>allocator</em> = <code><a class="el" href="namespaceAws_1_1Crt.html#a7178ef65f261a8db52a624458331bbb2">g_allocator</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Creates a provider that returns credentials sourced from Ec2 instance metadata service </p>

</div>
</div>
<a id="aeb9cfcc2f539fb910a7c72d38e91fa36"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeb9cfcc2f539fb910a7c72d38e91fa36">&#9670;&nbsp;</a></span>CreateCredentialsProviderProfile()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::shared_ptr&lt; <a class="el" href="classAws_1_1Crt_1_1Auth_1_1ICredentialsProvider.html">ICredentialsProvider</a> &gt; Aws::Crt::Auth::CredentialsProvider::CreateCredentialsProviderProfile </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structAws_1_1Crt_1_1Auth_1_1CredentialsProviderProfileConfig.html">CredentialsProviderProfileConfig</a> &amp;&#160;</td>
          <td class="paramname"><em>config</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceAws_1_1Crt.html#a3c9efb213e2de565038afcfd4f8afcda">Allocator</a> *&#160;</td>
          <td class="paramname"><em>allocator</em> = <code><a class="el" href="namespaceAws_1_1Crt.html#a7178ef65f261a8db52a624458331bbb2">g_allocator</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Creates a provider that returns credentials sourced from config files </p>

</div>
</div>
<a id="abe47f5c0185962c4dda681f946ed1848"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abe47f5c0185962c4dda681f946ed1848">&#9670;&nbsp;</a></span>CreateCredentialsProviderStatic()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::shared_ptr&lt; <a class="el" href="classAws_1_1Crt_1_1Auth_1_1ICredentialsProvider.html">ICredentialsProvider</a> &gt; Aws::Crt::Auth::CredentialsProvider::CreateCredentialsProviderStatic </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structAws_1_1Crt_1_1Auth_1_1CredentialsProviderStaticConfig.html">CredentialsProviderStaticConfig</a> &amp;&#160;</td>
          <td class="paramname"><em>config</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceAws_1_1Crt.html#a3c9efb213e2de565038afcfd4f8afcda">Allocator</a> *&#160;</td>
          <td class="paramname"><em>allocator</em> = <code><a class="el" href="namespaceAws_1_1Crt.html#a7178ef65f261a8db52a624458331bbb2">g_allocator</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Creates a provider that returns a fixed set of credentials </p>

</div>
</div>
<a id="a58acb95b7184d9cb4fb9f211f80cb441"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a58acb95b7184d9cb4fb9f211f80cb441">&#9670;&nbsp;</a></span>GetCredentials()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool Aws::Crt::Auth::CredentialsProvider::GetCredentials </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespaceAws_1_1Crt_1_1Auth.html#a264e6cff99e2c2872d62a4a85c825ca8">OnCredentialsResolved</a> &amp;&#160;</td>
          <td class="paramname"><em>onCredentialsResolved</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Asynchronous method to query for AWS credentials based on the internal provider implementation. </p>

<p>Implements <a class="el" href="classAws_1_1Crt_1_1Auth_1_1ICredentialsProvider.html#a15ee87754babd9d866d6bb25cd2951d8">Aws::Crt::Auth::ICredentialsProvider</a>.</p>

</div>
</div>
<a id="a861f140ae670ae824546ea09af3a0ff8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a861f140ae670ae824546ea09af3a0ff8">&#9670;&nbsp;</a></span>GetUnderlyingHandle()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual aws_credentials_provider* Aws::Crt::Auth::CredentialsProvider::GetUnderlyingHandle </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span><span class="mlabel">virtual</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Returns the underlying credentials provider implementation. </p>

<p>Implements <a class="el" href="classAws_1_1Crt_1_1Auth_1_1ICredentialsProvider.html#a08fa433e05ce03f14051d666d1c32d43">Aws::Crt::Auth::ICredentialsProvider</a>.</p>

</div>
</div>
<a id="a8294aff49261f8a75f428eee8c693812"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8294aff49261f8a75f428eee8c693812">&#9670;&nbsp;</a></span>IsValid()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool Aws::Crt::Auth::CredentialsProvider::IsValid </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span><span class="mlabel">virtual</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Validity check method </p>

<p>Implements <a class="el" href="classAws_1_1Crt_1_1Auth_1_1ICredentialsProvider.html#a19d7f5ea0891ca2c95334d5a40bdbd88">Aws::Crt::Auth::ICredentialsProvider</a>.</p>

</div>
</div>
<a id="a9f5e085b7d3590b01e8a971b6ba18e6c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9f5e085b7d3590b01e8a971b6ba18e6c">&#9670;&nbsp;</a></span>operator=() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classAws_1_1Crt_1_1Auth_1_1CredentialsProvider.html">CredentialsProvider</a>&amp; Aws::Crt::Auth::CredentialsProvider::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classAws_1_1Crt_1_1Auth_1_1CredentialsProvider.html">CredentialsProvider</a> &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a4162e85dbdeadebaf4430a5c3196ce14"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4162e85dbdeadebaf4430a5c3196ce14">&#9670;&nbsp;</a></span>operator=() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classAws_1_1Crt_1_1Auth_1_1CredentialsProvider.html">CredentialsProvider</a>&amp; Aws::Crt::Auth::CredentialsProvider::operator= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classAws_1_1Crt_1_1Auth_1_1CredentialsProvider.html">CredentialsProvider</a> &amp;&amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>/home/ANT.AMAZON.COM/dengket/doc/aws-crt-cpp/include/aws/crt/auth/<a class="el" href="Credentials_8h_source.html">Credentials.h</a></li>
<li>/home/ANT.AMAZON.COM/dengket/doc/aws-crt-cpp/source/auth/<a class="el" href="Credentials_8cpp.html">Credentials.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.18
</small></address>
</body>
</html>
